package cn.jhz.learn.blog.service.security.permission;


import cn.jhz.learn.blog.po.account.AccountPermission;
import cn.jhz.learn.blog.po.account.AccountRole;

import java.util.List;
import java.util.Set;

public interface PermissionService {
    List<String> getAllPermission();

    void addPermission(List<AccountPermission> permissions);

    Set<String> getPermissionResourceByRoles(Set<AccountRole> roles);
}
